setCurrentPages

abstract fun setCurrentPages(pages: List<DesignBlock>)

Set the pages that single page mode shows. All other pages leave the view but stay in the document and in the saved file. Takes visible effect while the setting features/singlePageModeEnabled is enabled. Exporting a page holds that page, even while it is out of view. Exporting a scene holds every page, except pages hidden with setVisible.

Parameters

pages

the pages to show. Two pages form a facing-page view. Each page must be distinct.